SUM=1
mh_zlist_pid="/home/wwwroot/default/lnpan/mh_zlist_pid.php"
proc=`/bin/ps xaww | grep -v " grep" | grep "$mh_zlist_pid" |wc -l`
echo $proc
if [ "$proc" -lt "$SUM" ];then
        /usr/bin/php "$mh_zlist_pid" &
fi

SUM=1
queue_mh_zlist="/home/wwwroot/default/lnpan/queue_mh_zlist.php"
proc=`/bin/ps xaww | grep -v " grep" | grep "$queue_mh_zlist" |wc -l`
echo $proc
if [ "$proc" -lt "$SUM" ];then
        /usr/bin/php "$queue_mh_zlist" &
fi

SUM=1
mh_zlist="/home/wwwroot/default/lnpan/mh_zlist.php"
proc=`/bin/ps xaww | grep -v " grep" | grep "$mh_zlist" |wc -l`
echo $proc
if [ "$proc" -lt "$SUM" ];then
        /usr/bin/php "$mh_zlist" &
fi

SUM=5
mh_zcopy="/home/wwwroot/default/lnpan/mh_zcopy.php"
proc=`/bin/ps xaww | grep -v " grep" | grep "$mh_zcopy" |wc -l`
echo $proc
if [ "$proc" -lt "$SUM" ];then
        /usr/bin/php "$mh_zcopy" &
fi

SUM=10
mh_zcopy_hot="/home/wwwroot/default/lnpan/mh_zcopy_hot.php"
proc=`/bin/ps xaww | grep -v " grep" | grep "$mh_zcopy_hot" |wc -l`
echo $proc
if [ "$proc" -lt "$SUM" ];then
        /usr/bin/php "$mh_zcopy_hot" &
fi

SUM=10
mh_zcopy_list="/home/wwwroot/default/lnpan/mh_zcopy_list.php"
proc=`/bin/ps xaww | grep -v " grep" | grep "$mh_zcopy_list" |wc -l`
echo $proc
if [ "$proc" -lt "$SUM" ];then
        /usr/bin/php "$mh_zcopy_list" &
fi

SUM=1
mh_zcopy_news="/home/wwwroot/default/lnpan/mh_zcopy_news.php"
proc=`/bin/ps xaww | grep -v " grep" | grep "$mh_zcopy_news" |wc -l`
echo $proc
if [ "$proc" -lt "$SUM" ];then
        /usr/bin/php "$mh_zcopy_news" &
fi

SUM=0
mh_zcopy_chapter_update="/home/wwwroot/default/lnpan/mh_zcopy_chapter_update.php"
proc=`/bin/ps xaww | grep -v " grep" | grep "$mh_zcopy_chapter_update" |wc -l`
echo $proc
if [ "$proc" -lt "$SUM" ];then
        /usr/bin/php "$mh_zcopy_chapter_update" &
fi
